import { IsEmail, IsNotEmpty } from 'class-validator';
import { IsNotConfirmed } from '../rule/is-not-confirmed';
import { IsConfirmed } from '@/auth/rules/is-confirmed';
export class findUserInfoPassWord {
  @IsNotEmpty({ message: '邮箱号不能为空' })
  @IsEmail({}, { message: '验证码输入格式错误' })
  email: string;
  @IsConfirmed({ message: '两次输入密码不一致' })
  @IsNotEmpty({ message: '密码不能为空' })
  passWord: string;
}
